<?php
	include_once 'lib/config.php';
	include_once 'lib/databaseObject.php';
	
	$dbObj = new DatabaseObject();
	$dbObj->connect($dbhost, $dbuser, $dbpass, $dbname);
	
	//$dbObj->removeRestaurant("Logans Place");

	//$dbObj->addMenuItem(7,"Burrito",9,"");

	//$dbObj->removeRestaurant("Logans Place");

	//$dbObj->addRestaurant("Logans Place","123 Fake St","555-5555","Mexican");
	//$json = $dbObj->getAllRestaurants();
	
	$jsonArray = $dbObj->getLunchByCategory(0,20,"Chinese");
	
	echo $jsonArray[0];
	//echo $jsonArray[1];

?>